Xbasic

INDEX.NAME_GET Function

Syntax

Tag_Name as C = Name_Get()

Description

Gets the index tag name.

Discussion

The .NAME_GET() method returns the Tag_Name of the index, or the description of a query list, referenced by the index object pointer, .

Example

Display the name of the primary index in the Trace window.

dim tbl as P
dim index_pointer as P
tbl = table.current()
index_pointer = tbl.index_primary_get()
index_name = index_pointer.name_get()
trace.writeln("The name of the primary index is: " + index_name)

See Also